import { BaseControl, BaseStyle, DiyCompType, type IDiyBase } from '@/diy/types'

class DiySignet implements IDiyBase {
  id = ''

  type = DiyCompType.base

  componentFunctionName = '印章'

  componentName = 'DiySignet'

  data = {
    src: '',
    companyName: '',
    bottomText: '',
    showStar: true,
    color: '#ff0000'
  }

  style = new BaseStyle({
    width: '160px',
    height: '160px'
  })

  control = new BaseControl({
    rotatable: true,
    keepRatio: true
  })
}

export default DiySignet
